<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<%@ taglib prefix="sjg" uri="/struts-jquery-grid-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"[]>
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US" xml:lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title>Teacher-Class Evaluation System</title>
        <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" />
        <!--[if IE 6]><link rel="stylesheet" href="../css/style.ie6.css" type="text/css" media="screen" /><![endif]-->
        <!--[if IE 7]><link rel="stylesheet" href="../css/style.ie7.css" type="text/css" media="screen" /><![endif]-->
           <sj:head jqueryui="true" jquerytheme="south-street" compressed="false"/>
<!--        <script type="text/javascript" src="../js/jquery.js"></script>-->
        <script type="text/javascript" src="../js/script.js"></script>


        <script src="../js/jquery.validationEngine-en.js" type="text/javascript" charset="utf-8"></script>
        <script src="../js/jquery.validationEngine.js" type="text/javascript" charset="utf-8"></script>
        <link rel="stylesheet" href="../css/validationEngine.jquery.css" type="text/css"/>
        
        <script type="text/javascript" src="../js/listSubject.js"></script>

    </head>
    <body>
        <div id="art-main">
            <div class="cleared reset-box"></div>
            <%-- navigation and header --%>
            <jsp:include page="../components/headerComponent.jsp"/>


            <div class="cleared reset-box"></div>
            <div class="art-box art-sheet">
                <div class="art-box-body art-sheet-body">
                    <div class="art-layout-wrapper">
                        <div class="art-content-layout">
                            <div class="art-content-layout-row">
                                <div class="art-layout-cell art-content">
                                    <div class="art-box art-post">
                                        <div class="art-box-body art-post-body">
                                            <div class="art-post-inner art-article">
                                                <h2 class="art-postheader tce-green-bg tce-white-font tce-clear-margin tce-padding">
                                                    List of Subjects for Evaluation
                                                </h2>
                                                <s:iterator value="subjectScheduleList">
                                                    <div class="art-postcontent tce-border-bottom tce-margin">
                                                        <div class="art-layout-cell tce-sidebar">
                                                            <img src="../images/instructors/<s:property value="instructorID" />.png" alt="Instructor's photo" class="" width="128" height="128"/>
                                                        </div>
                                                        <div class="art-layout-cell art-content">
                                                            <p>
                                                                <span class="tce-bold-font">Subject Offering : </span><span><s:property value="subjectOfferingName" /></span>
                                                            </p>
                                                            <p>
                                                                <span class="tce-bold-font">Subject : </span><span><s:property value="subjectCode" />&nbsp;-&nbsp;<s:property value="subjectDescription" /></span>
                                                            </p>
                                                            <p>
                                                                <span class="tce-bold-font">Schedule : </span><span><s:property value="subjectSchedule" /></span>
                                                            </p>
                                                            <p>
                                                                <span class="tce-bold-font">Instructor : </span><span><s:property value="instructorFirstName" />&nbsp;<s:property value="instructorMiddleName" />&nbsp;<s:property value="instructorLastName" /></span>
                                                            </p>
                                                            <p>
                                                                <span class="art-button-wrapper">
                                                                    <span class="art-button-l"> </span>
                                                                    <span class="art-button-r"> </span>
<%--                                                                     onclick="evaluateSubject(<s:property value="subjectScheduleID" />)"--%>
                                                                    <a class="art-button" href="/TCESystem/subject/view~questions?subjectScheduleID=<s:property value="subjectScheduleID" />"  id="tasksLink1_11">Evaluate Now</a>
                                                                </span>
                                                            </p>
                                                        </div>
                                                    </div>
                                                    <div class="cleared"></div>
                                                </s:iterator>
                                            </div>
                                            <div class="cleared"></div>
                                        </div>
                                    </div>
                                    <div class="cleared"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="cleared"></div>
                    <%-- footer --%>
                    <jsp:include page="../components/footerComponent.jsp"/>
                    <div class="cleared"></div>
                </div>
            </div>
            <div class="cleared"></div>
        </div>
                  <%--  <sj:dialog name="subjectEvaluationDialog" 
                               id="subjectEvaluationDialog" 
                               modal="true" 
                               autoOpen="false"
                               position="0, 0" 
                               closeOnEscape="false"
                               title="Teacher Class Evaluation"
                           buttons="{
                           'Close':function() {  $('#subjectEvaluationDialog').dialog('close'); }
                           }">
                        
                    </sj:dialog>--%>
    </body>
</html>